package com.chukun.gateway.core.limiter.rule;

import com.chukun.gateway.common.rule.Rule;

/**
 * @author chukun
 * @version 1.0.0
 * @description 执行限流的接口
 * @createTime 2023/12/10 20:53
 */
public interface IGatewayFlowCtlRule {

    /**
     *
     * @param flowCtlConfig 限流限流
     * @param serviceId 服务id
     */
    void doFlowControlFilter(Rule.FlowControlConfig flowCtlConfig, String serviceId);
}
